A Proposal to add Interval Arithmetic to the C++ Standard Library
نویسندگان
چکیده
IV Proposed Text for the Standard 7 26.6 Interval numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 26.6.1 Header synopsis . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 26.6.2 interval class template . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 26.6.3 interval numeric specializations . . . . . . . . . . . . . . . . . . . . . . . . . . 10 26.6.4 interval member functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 26.6.5 interval member operators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 26.6.6 interval non-member operations . . . . . . . . . . . . . . . . . . . . . . . . . . 14 26.6.7 interval comparisons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 26.6.8 interval IO operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 26.6.9 interval value operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 26.6.10 interval algebraic operations . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 26.6.11 interval set operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 26.6.12 interval static value operations . . . . . . . . . . . . . . . . . . . . . . . . . . 18 26.6.13 interval specialization . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 26.6.14 interval member functions . . . . . . . . . . . . . . . . . . . . . . . . 19 26.6.15 interval conversion to bool . . . . . . . . . . . . . . . . . . . . . . . . 20 26.6.16 interval non-member operations . . . . . . . . . . . . . . . . . . . . . 20 26.6.17 interval static value operations . . . . . . . . . . . . . . . . . . . . . . 21
منابع مشابه
Towards Good C++ Interval Libraries: Tricks and Traits
Despite its usefulness for overcoming floating-point arithmetic defects, manipulating imprecise data, and performing non-linear global optimization, interval arithmetic is not yet a first-class type in any computer language. Some attempts are underway for Fortran and Java, not for C++. However, some add-on C++ interval libraries already exist though they do not respect the C++ standard library ...
متن کاملArithmetic Aggregation Operators for Interval-valued Intuitionistic Linguistic Variables and Application to Multi-attribute Group Decision Making
The intuitionistic linguistic set (ILS) is an extension of linguisitc variable. To overcome the drawback of using single real number to represent membership degree and non-membership degree for ILS, the concept of interval-valued intuitionistic linguistic set (IVILS) is introduced through representing the membership degree and non-membership degree with intervals for ILS in this paper. The oper...
متن کاملCoStLy: A Validated Library for Complex Functions
For the validated computation of complex functions, Bühler [1] has implemented algorithms that were presented in [2] as part of a Pascal–XSC interval library. Although Pascal-XSC is still available [4], it is no longer being maintained and it requires outdated compiler versions, which make it difficult to use nowadays. CoStLy is a new C++ library of complex standard functions for the rigorous c...
متن کاملThe Interval-Enhanced GNU Fortran Compiler
Compiler support for intervals as intrinsic data types is essential for promoting the development and wide-spread use of interval software. It also plays an important role in encouraging the development of hardware support for interval arithmetic. This paper describes modi cations made to the GNU Fortran Compiler to provide support for interval arithmetic. These modi cations are based on a rece...
متن کاملThe Boost interval arithmetic library
We report on the design of the Boost interval arithmetic library, a C++ library designed to efficiently handle mathematical intervals in a generic way. The design of the library is unique in that it uses policies to specify the variable behaviors: rounding, checking, comparisons. As a result, with the proper policies, our interval library is able to emulate almost any of the specialized librari...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2006